(function () {
    var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {};
    templates['trackItemWaterfall'] = template(function (Handlebars, depth0, helpers, partials, data) {
        helpers = helpers || Handlebars.helpers;
        var buffer = "", stack1, foundHelper, functionType = "function", escapeExpression = this.escapeExpression;


        buffer += "<li key=\"";
        foundHelper = helpers.id;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.id; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\" site=\"";
        foundHelper = helpers.site;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.site; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\"><span class=\"img2\"><a href=\"";
        foundHelper = helpers.unionUrl;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.unionUrl; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\" target=\"_blank\">\r\n        <img src=\"";
        foundHelper = helpers.imgUrl;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.imgUrl; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\" width=\"150\" height=\"150\" border=\"0\"  title=\"";
        foundHelper = helpers.name;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.name; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\"></a></span><div title=\"";
        foundHelper = helpers.name;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.name; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\"\r\n            class=\"title-i\">\r\n            <a href=\"";
        foundHelper = helpers.unionUrl;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.unionUrl; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\" target=\"_blank\"><p>";
        foundHelper = helpers.name;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.name; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "</p></a></div>\r\n        <span class=\"price\">原价：￥";
        foundHelper = helpers.curprice;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.curprice; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "<b></b></span>";
        stack1 = depth0.reduction;
        stack1 = stack1 == null || stack1 === false ? stack1 : stack1.quatityText;
        stack1 = typeof stack1 === functionType ? stack1() : stack1;
        if (stack1 || stack1 === 0) { buffer += stack1; }
        buffer += "<div class=\"btn-i\">\r\n            <span class=\"go-look\"><a\r\n                href=\"";
        foundHelper = helpers.unionUrl;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.unionUrl; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\" target=\"_blank\" >立即去看看</a><b></b></span><a\r\n                href=\"";
        foundHelper = helpers.url;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.url; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        buffer += escapeExpression(stack1) + "\"></a>";
        foundHelper = helpers.bought;
        if (foundHelper) { stack1 = foundHelper.call(depth0, { hash: {} }); }
        else { stack1 = depth0.bought; stack1 = typeof stack1 === functionType ? stack1() : stack1; }
        if (stack1 || stack1 === 0) { buffer += stack1; }
        buffer += "<span class=\"yon\"><a c=\"waterfalldel\" title=\"取消关注\">×</a><b></b></span>\r\n        </div>\r\n    </li>";
        return buffer;
    });
})();